e9df1e898325a4fde4c475b9302e2e17e33afd25,portal-impl/src/com/liferay/portlet/documentlibrary/service/impl/DLAppHelperLocalServiceImpl.java,DLAppHelperLocalServiceImpl,updateStatuses,#User#List#number#,877

Before Change


				// Workflow

				if ((status != WorkflowConstants.STATUS_APPROVED) &&
					dlFileVersion.isPending()) {

					workflowInstanceLinkLocalService.
						deleteWorkflowInstanceLink(

After Change



				if (status != WorkflowConstants.STATUS_APPROVED) {
					for (DLFileVersion dlFileVersion : dlFileVersions) {
						if (!dlFileVersion.isPending()) {
							continue;
						}